<template>
    <div class="common_page">
        <el-tree :data="data" :props="defaultProps" accordion @node-click="handleNodeClick">
        </el-tree>
    </div>
</template>

<script>
export default {
    name: 'yssj',
    props: {
        data: {
            type: Array,
            default: () => {
                return []
            }
        }
    },
    components: {
    },
    data() {
        return {
        };
    },
    mounted() {
    },
    methods: {
        handleNodeClick(data) {
            this.$emit('handleNodeClick', data)
        }
    },
};
</script>

<style lang="scss" scoped></style>
